//
//  CellForCollect.m
//  Lovelife
//
//  Created by apple on 15/4/30.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "CellForCollect.h"

@implementation CellForCollect

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    
    if (self) {
        
        self.Img = [[UIImageView alloc]init];
        
        [self addSubview:self.Img];
        
        [_Img release];
        
        self.title = [[BaseLabel alloc]init];
        
        [self addSubview:self.title];
        
        [_title release];
        
    }
    return self;
    
}

-(void)layoutSubviews
{
    
    [super layoutSubviews];
    self.Img.frame = CGRectMake(10, 10, self.frame.size.width/3, self.frame.size.height-20);
    
    self.title.frame = CGRectMake(self.frame.size.width/3 + 30, self.frame.size.height/5+20, self.frame.size.width/3, 20);
    
    
    
}

@end
